x86/HVM: RTC periodic timer emulation adjustments
authorJan Beulich <jbeulich@suse.com>
Mon, 3 Sep 2012 06:35:41 +0000 (08:35 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 3 Sep 2012 06:35:41 +0000 (08:35 +0200)
commitf1297904185f73262522b6277252bfb699644766
tree1e4bd4c1759ed533d130da87f3ec8c13efd6c791
parentaa1c1f4c57720d3f8426aab89cf8217dd687a651
x86/HVM: RTC periodic timer emulation adjustments

- don't call rtc_timer_update() on REG_A writes when the value didn't
  change (doing the call always was reported to cause wall clock time
  lagging with the JVM running on Windows)
- don't call rtc_timer_update() on REG_B writes when RTC_PIE didn't
  change

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/rtc.c